package cn.edu.xmu.orderpayment.payment.model.vo;

import cn.edu.xmu.orderpayment.payment.model.po.PaymentPatternPo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.time.ZonedDateTime;

/**
 * @author zihan zhou
 * @date 2021/12/12
 */
@Data
@Getter
@NoArgsConstructor
public class PaymentPatternRetVo {

    private Long id;


    private String name;


    private Byte state;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "uuuu-MM-dd'T'HH:mm:ss.SSSZZZZZ")
    private ZonedDateTime beginTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "uuuu-MM-dd'T'HH:mm:ss.SSSZZZZZ")
    private ZonedDateTime endTime;


    private String className;


//    private Long creatorId;
//
//
//    private String creatorName;

    private SimpleAdminUser creator;

    private SimpleAdminUser modifier;

    //    private Long modifierId;
//
//
//    private String modifierName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "uuuu-MM-dd'T'HH:mm:ss.SSSZZZZZ")
    private ZonedDateTime gmtCreate;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "uuuu-MM-dd'T'HH:mm:ss.SSSZZZZZ")
    private ZonedDateTime gmtModified;


}
